<?php

namespace tjsd\controllers;

/**
 * 
 * 
 * @author Jakub Tesárek <info@tjsd.cz>
 * @copyright 2012
 * @version 1.0
 */
class ControllerFactory {
	public function __construct() {
		
	}
	
	public function createController($controllerName, \tjsd\system\di\ServiceContainer $serviceContainer) {
		$controller = new \controllers\IndexController();
		$controller->setServiceContainer($serviceContainer);
		return $controller;
	}
}